package com.situ.mall.base.util;

/**
 * ClassName: C
 * Package: com.situ.mall.base.util
 * Description:
 *
 * @Author Darling_达
 * @Create 2023-03-20 19:14
 * @Version 1.0
 */

// 定义一些常量
public class C {

    public static final String UPLOAD_PATH_PREFIX = "/upload/";
    public static final String SRC = "src";
    public static final String ID = "id";
    public static final String PNG = ".png";
    public static final String FILE = "file:";
    public static final String PRODUCT_PATH = "E:\\Darling\\Code\\IDEA-Java\\mallImg\\proImgs\\";
    public static final String AVATAR_PATH = "E:\\Darling\\Code\\IDEA-Java\\mallImg\\avatars\\";
    public static final String BANNER_PATH = "E:\\Darling\\Code\\IDEA-Java\\mallImg\\banners\\";

    public static final String[] SHOWS = {"否", "是"};

    public static final String[] PAY_STATUS = {"待支付", "已支付", "已发货", "已完成"};

    /**
     * 文件工具类 相关
     */
    public static final Long K_SIZE = 1024L;
    public static final Long M_SIZE = K_SIZE * K_SIZE;
    public static final Long G_SIZE = M_SIZE * K_SIZE;
    public static final String B = "B";
    public static final String K = "KB";
    public static final String M = "MB";
    public static final String G = "GB";
    public static final String START = "Start";
    public static final String STOP = "Stop";
    public static final String COUNT = "Count";
    public static final String SUCCESS = "success";
    public static final String FAIL = "fail";


}
